import Mock from 'mockjs'
import mockFetch from 'mockjs-fetch'
mockFetch(Mock)

Mock.mock('/api/list', {
  'id|10': '@guid',
  'show|1-2': true,
  'info': '@cparagraph(20)',
  'img': '@image(100x100)'
})

Mock.setup({
  timeout: 400
})